package top.infopub.mgr.mkt.dao;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;
import top.infopub.dto.mkt.BidAnalysisDto;
import top.infopub.generic.GenericDao;
import top.infopub.mgr.mkt.domain.BidCurrencyDomain;
import top.infopub.mgr.mkt.vo.BidCurrencyVo;
import top.infopub.model.mkt.BidAnalysis;

public interface BidAnalysisDao extends GenericDao<BidAnalysis, String> {

    Page<BidCurrencyDomain> selectByDomainWhere(BidCurrencyVo bidCurrencyVo);

    /**
     * 查询投标文件分析详情
     * @param id
     * @return
     */
    BidAnalysisDto queryDetailById(@Param("id") String id);

    /**
     * 修改信息
     * @param bidAnalysis
     */
    void modifyById(BidAnalysis bidAnalysis);

    /**
     * 资格预审流程通过后写入数据
     * @param bidAnalysis
     */
    void insertByProcess(BidAnalysis bidAnalysis);

    BidAnalysis queryByProCode(@Param("proCode") String proCode);
}
